package cn.easier.activity.console.service;


import cn.easier.activity.web.dto.QuestionnaireMessageDto;
import cn.easier.activity.web.entity.QuestionnaireMessage;
import cn.easier.club.base.dto.ResultInfo;

import java.util.HashMap;
import java.util.List;

/**
 * 活动留言Service
 */
public interface ActivityConsoleService {

    ResultInfo delMessage(String type,Long id);

    List<Object> getMessage(Integer activityId, String beginTime, String endTime, int pageNum, int pageSize);

    ResultInfo showMessage(Long id, String type);

    ResultInfo getActivityName();

    ResultInfo questionnaireMessage(List<QuestionnaireMessageDto> params, Integer activityInfoId);

    ResultInfo getQuestionnaireMessage(String activityId);

    ResultInfo saveMessage(List<Object> messageList, List<Object> optionList ,Integer activityId);

    List<Object> getDailyMessage(Integer activityInfoId, int pageNum, int pageSize);

    ResultInfo getDailyActivityName();

    ResultInfo getInputMessage(Integer activityId, int pageNum, int pageSize);

    List<QuestionnaireMessage> getQuestionnaire(String activityId);

    HashMap<String, List<String>> getOption(List<QuestionnaireMessage> questionnaire);

}
